﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


    public  class MyStream
    {
        public static DataInputStream readFile(string path){
            path = Main.res + path;	
			try{
	            return DataInputStream.getResourceAsStream(path);
			}catch(Exception e){
			return null;
	        }
		}
    }

